<include file="__THEME__/header" />
<link href="../Public/css/photo.css" rel="stylesheet" type="text/css" />
<script>
function sharePop(id,url,type){
	var classId = '#BtnShare_'+id;
	$(classId).attr('disabled','true');

	$.post(url+"/addShare_check/", {aimId:id,type:type}, function(txt){
		   if(txt==1){
			   ymPrompt.win(url+'/addShare/aimId/'+id+'/type/'+type,500,'315','分享',null,null,null,{id:'a'});
		   }else if(txt==-1){
			   ymPrompt.errorInfo('请不要分享自己发布的东西!');
		   }else if(txt==-2){
			   ymPrompt.errorInfo('您已经分享过,请不要重复分享!');
		   }else if(txt==-3){
			   ymPrompt.errorInfo('您没有权限分享!');
		   }else{
			   ymPrompt.errorInfo('参数出错,请重试!');
		   }
		   
		   $(classId).attr('disabled','');
	});
}
</script>
<!-- 头部 end -->
<div class="content"><!-- 内容 begin  -->
	<include file="__THEME__/apps" />
	<div class="main"> <!-- 右侧内容 begin  -->

	<div class="page_title"><!-- page_title begin -->
		<div class="left" style="width:70px;">
			<span class="headpic50"><a href="__TS__/space/{$mid}"><img src="{$album.userId|getUserFace}" /></a></span>
		</div>
		<div class="left" style="width:650px;">
			<h2>{$user.name}的专辑“{$album.name}”</h2>
			<p><a href="__TS__/space/{$user.id}">{$user.name}的首页</a> ┊ <a href="__APP__/Index/photos/uid/{$user.id}">{$user.name}的照片</a></p>
		</div>
		<div class="left alR lh30" style="width:100px;"><a href="javascript:window.history.back(-1)">返回上一页</a></div>
	<div class="c"></div>
</div><!-- page_title end -->
  
	<!-- 切换标签 end  -->
	<div class="MenuSub">
		共{$album.photoCount}张 ┊ <a href="__APP__/Index/albums/uid/{$user.id}">返回{$user.name}的全部专辑</a>
	</div>
  
	<div class="photoBox">
		<div class="passwor_div">
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<neq name="error" value="">
				<tr>
					<td width="40" align="center"><img src="../Public/images/ico_yaoshi.png" width="20" height="20" /></td>
					<td colspan="3">密码不正确！</td>
				</tr>
				</neq>
				<tr>
					<td width="40" align="center"><img src="../Public/images/ico_yaoshi.png" width="20" height="20" /></td>
					<td colspan="3">本相册需要密码才能访问</td>
				</tr>
				<form method="post" action="__APP__/Index/check_password">
				<tr>
					<td height="50" align="center">&nbsp;</td>
					<td width="37">密码:</td>
					<td width="140">
						<input name="password" type="password" class="TextH20" id="title" onfocus="this.className='Text2'" onblur="this.className='TextH20'" size="20" maxlength="30"/>
					</td>
					<td width="71">
						<input type="hidden" name="aid" value="{$aid}" />
						<input type="hidden" name="pid" value="{$pid}" />
						<input type="hidden" name="uid" value="{$uid}" />
						<input type="submit" value="提交" class="btn_b"/>
					</td>
				</tr>
				</form>
			</table>
		</div>
  	</div>

  <div class="lh30"><span class="right cGray2">{:date('Y年m月d日',$album['cTime'])}创建</span><!-- 该专辑里有：<a href="#">赵杰</a>, xx  --></div>
  <div class="page">{$photos.html}</div>
  </div><!-- 右侧内容 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />